/*
 * StringInput.h
 *
 *  Created on: 10 feb 2010
 *      Author: Andreas
 */

#ifndef STRINGINPUT_H_
#define STRINGINPUT_H_

#include <string>
#include "SDL/SDL.h"

using namespace std;

class StringInput {
public:
	StringInput(int x, int y, string font);
	virtual ~StringInput();
	string handleInput(SDL_Event *e);
	void draw();
	void setActive(bool b);

private:
	string str;
	int xpos;
	int ypos;
	string font;
	bool active;
};

#endif /* STRINGINPUT_H_ */
